using UnityEngine;
using System.Collections;

public class triggerbulletcheck : MonoBehaviour {

	// Use this for initialization
	public static bool enemyPresent = false;
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
		
		
	
	}
	void OnTriggerStay(Collider col)
	{
		if(col.gameObject.tag == "enemybullet"){
		enemyPresent = true;
			
            //Debug.Log(enemyPresent);
		}else{
			enemyPresent =false;
		}
	}
}
